Fix bug #11035 with cursor positioning on overlay strings with newlines.
authorEli Zaretskii <eliz@gnu.org>
Sun, 18 Mar 2012 16:57:39 +0000 (18:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 18 Mar 2012 16:57:39 +0000 (18:57 +0200)
commit0c51a7c42efd35804c57c9a3558628cd9771ce50
treeaa0cfe237e276874d69d12b2340d0e06aaea969e
parentcb32e34a8f8d26c3d0fc756741d3c3dd103fa045
Fix bug #11035 with cursor positioning on overlay strings with newlines.

 src/xdisp.c (cursor_row_p): Even if the glyph row ends in a string
 that is not from display property, accept the row as a "cursor
 row" if one of the string's character has a non-nil `cursor'
 property.  Fixes cursor positioning when there are newlines in
 overlay strings, e.g. in icomplete.el.
src/ChangeLog
src/xdisp.c